← Back to issue list

Rebuilding a Go project results in error "error obtaining VCS status" in privileged containers

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2004544
Type
issue
State
open
Author
~saviq
Labels
Created
2023-02-02 09:37:19.427562+00:00
Updated
2023-02-02 15:27:48.332178+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Having built a Go snap from a Git repo, rebuilding it results in breakage that only cleaning helps with: $ snapcraft --use-lxd # builds fine # change source $ snapcraft --use-lxd Updating build step for spread ('pull' step changed) + snapcraftctl build + go mod download + go install -p 16 -ldflags -linkmode=external ./... error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping.

Evaluation history

No evaluation history available.